<?php

class Admin_Form_EditCate extends Zend_Form
{

    public function init()
    {
        /* Form Elements & Other Definitions Here ... */
		$this
			->setMethod('post')
			->setAttrib('id', 'frmEditPost');
		
		$id = new Zend_Form_Element_Hidden('id');
		$id->setValue(0);
		
		$title = new Zend_Form_Element_Text('cat_title');
		$title
			->setLabel('Title')
			->addFilter('StripTags')
			->setRequired(true);
		
		$alias = new Zend_Form_Element_Text('cat_alias');
		$alias
			->setLabel('Alias')
			->addFilter('StripTags')
			->setRequired(true);
		
		$submit = new Zend_Form_Element_Submit('Create');
		$submit
			->setAttrib('class','btn');
		$this
			->addElement($id)
			->addElement($title)
			->addElement($alias)
			->addElement($submit );
		
    }
	
}

